package com.yuanfeng.job.mapper;

import com.yuanfeng.commoms.vo.activity.EffectiveActivityVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName SpinwinActivityMapper
 * @Description
 * @Author hyq
 * @Date 2023/9/5 13:58
 * @Version 1.0
 **/

@Mapper
public interface SpinwinActivityMapper {

    List<Integer> selectExpireActivity();

    void updateLuckyDraw(@Param("activityIdList") List<Integer> activityIdList);

    void updateActivityStatus(@Param("activityIdList") List<Integer> activityIdList);

    EffectiveActivityVO selectEffectiveActivity();


    void updateDailyLottery(EffectiveActivityVO activity);
}
